var express = require("express");
var path = require("path");
var ejs = require("ejs");

var app = express();

app.set("view",path.resolve(__dirname,"view"));

app.set("view engine",ejs);

app.get("/",function(request,response){
	response.render("index",{
		message: "Hey everyone! This is my webpage."
	});
});

app.listen(3000);